package com.vitabuybuy.tv.ui.mine.wallet

import android.os.Bundle
import com.vitabuybuy.tv.R
import com.vitabuybuy.tv.databinding.ActivityChooseBankBinding
import com.library.common.base.BaseActivity
import com.vitabuybuy.tv.ui.mine.wallet.viewmodel.MyWalletViewModel

class ChooseBankActivity : BaseActivity<MyWalletViewModel,ActivityChooseBankBinding>(){
    companion object {
        fun openActivity(mContext: BaseActivity<*, *>) {
            mContext.startActivity(null, ChooseBankActivity::class.java)
        }
    }

    override val isUseBaseTitleBar: Boolean
        get() = true
    override val layoutId: Int
        get() = R.layout.activity_choose_bank

    override fun initView(savedInstanceState: Bundle?) {
        setTitle(getString(R.string.choose_bank))
        mBinding.viewModel = viewModel
    }

    override fun observeData() {
        viewModel.getDataList()
    }
}
